<?

class Smutty_Test extends UnitTestCase {

	/**
	 *  this function tests an array of regular expressions
	 *  against a string and asserts that they all match
	 *
	 *  @param [string] the string to match against
	 *  @param [regexps] the regexp's to match
	 *
	 */

	function assertRegExps( $string, $regexps ) {

		foreach ( $regexps as $regexp )
			$this->assertTrue( preg_match($regexp,$string) );

	}

}

?>